<?
$cfg_params=load_params("roster");
$cfg_params["liste_rangs"]=array();
$rangs=explode("|",$cfg_params["rangs"]);
foreach($rangs as $rang){
	if($rang!=""){
		$rang=explode(":",$rang);
		$cfg_params["liste_rangs"][]=$rang[0];
	}
}

if(file_exists("themes/".CFG_THEME."/".$GLOBALS["VUE"]["module"]."/ctn.roster_player.html")) $ctn="themes/".CFG_THEME."/".$GLOBALS["VUE"]["module"]."/ctn.roster_player.html";
else $ctn="modules/".$GLOBALS["VUE"]["module"]."/ctn.roster_player.html";

get_ctn("roster_player",$ctn);

$player= getPlayerById($_REQUEST["id"]);
$datas=$player->get_datas();

$tmp=$player->get_3dmodel();
$datas["3D_MODEL_EQUIPLIST"]=$tmp["equipList"];
$datas["3D_MODEL_RACESEXE"]=$tmp["racesexe"];

$datas["ITEMS"]=$player->get_items();
